package kr.hkit.powerjava.chapter22.homework;

import java.util.ArrayList;


public class RandomTest {
	public static void main(String[] args) {
		ArrayList<String> arList = new ArrayList<>();
		RandomList<String> rl = new RandomList<>(arList);
		
		rl.add("사과");
		rl.add("딸기");
		rl.add("포도");
		rl.add("배");
		rl.prnList();
		
		
		System.out.println(rl.select());
	}
}
